package com.creditft.algorithm;

import org.apache.shardingsphere.api.sharding.standard.PreciseShardingAlgorithm;
import org.apache.shardingsphere.api.sharding.standard.PreciseShardingValue;

import java.util.Collection;

/**
 * @description: 分库策略
 * @author: xiaoxiong
 * @create: 2021-04-02 16:58
 */
public class DatabasePreciseShardingAlgorithm implements PreciseShardingAlgorithm<String> {
    @Override
    public String doSharding(Collection<String> collection, PreciseShardingValue<String> preciseShardingValue) {
        preciseShardingValue.getValue();
        return null;
    }
}
